// Hole Filling.cpp : main project file.

#include "stdafx.h"
#include "Controller.h"
#include "AlgorithmMain.h"
#include "TestGUI.h"

#include "BImage.h"
#include "Bucket.h"
#include "BucketTree.h"

using namespace System;

[STAThreadAttribute]
int main(array<System::String ^> ^args)
{
	

	// Enabling Windows XP visual effects before any controls are created
	Application::EnableVisualStyles();
	Application::SetCompatibleTextRenderingDefault(false); 


	

	Controller^ controller = gcnew Controller();

	TestGUI^ gui = gcnew TestGUI();

	AlgorithmMain^ model = gcnew AlgorithmMain();

	controller->setGUI(gui);
	controller->setModel(model);
	gui->setController(controller);
	model->setController(controller);

	Application::Run(gui);

	

	
	
	return 0;
}



